$(".fixed-right-show-center").mouseover(function(){
    $(this).css({"color":"#ff6700"})
    .find(".fixed-back0").css({"background-image":"url(https://i8.mifile.cn/b2c-mimall-media/74c4fcb4475af8308e9a670db9c01fdf.png)"})
    .siblings(".right-show-center-hidden").css({"display":"block"})
})
.mouseout(function(){
    $(this).css({"color":"#757575"})
    .find(".fixed-back0").css({"background-image":"url(https://i8.mifile.cn/b2c-mimall-media/98a23aae70f25798192693f21c4d4039.png)"})
    .siblings(".right-show-center-hidden").css({"display":"none"})
})
//
$(".fixed-right-show-center").mouseover(function(){
    $(this).css({"color":"#ff6700"})
    .find(".fixed-back1").css({"background-image":"url(https://i8.mifile.cn/b2c-mimall-media/41f858550f42eb1770b97faf219ae215.png)"})
})
.mouseout(function(){
    $(this).css({"color":"#757575"})
    .find(".fixed-back1").css({"background-image":"url(https://i8.mifile.cn/b2c-mimall-media/55cad219421bee03a801775e7309b920.png)"})
})
//
$(".fixed-right-show-center").mouseover(function(){
    $(this).css({"color":"#ff6700"})
    .find(".fixed-back2").css({"background-image":"url(https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/95fbf0081a06eec7be4d35e277faeca0.png)"})
})
.mouseout(function(){
    $(this).css({"color":"#757575"})
    .find(".fixed-back2").css({"background-image":"url(https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/12eb0965ab33dc8e05870911b90f3f13.png)"})
})
//
$(".fixed-right-show-center").mouseover(function(){
    $(this).css({"color":"#ff6700"})
    .find(".fixed-back3").css({"background-image":"url(https://i8.mifile.cn/b2c-mimall-media/5e9f2b1b0da09ac3b3961378284ef2d4.png)"})
})
.mouseout(function(){
    $(this).css({"color":"#757575"})
    .find(".fixed-back3").css({"background-image":"url(https://i8.mifile.cn/b2c-mimall-media/4f036ae4d45002b2a6fb6756cedebf02.png)"})
})
//
$(".fixed-right-show-center").mouseover(function(){
    $(this).css({"color":"#ff6700"})
    .find(".fixed-back4").css({"background-image":"url(https://i8.mifile.cn/b2c-mimall-media/692a6c3b0a93a24f74a29c0f9d68ec71.png)"})
})
.mouseout(function(){
    $(this).css({"color":"#757575"})
    .find(".fixed-back4").css({"background-image":"url(https://i8.mifile.cn/b2c-mimall-media/d7db56d1d850113f016c95e289e36efa.png)"})
})
//

$(".fixed-right-hidden").mouseover(function(){
    $(this).css({"color":"#ff6700"})
    .find(".fixed-back5").css({"background-image":"url(http://i1.mifile.cn/f/i/2018/home/totop_hover.png)"})
})
.mouseout(function(){
    $(this).css({"color":"#757575"})
    .find(".fixed-back5").css({"background-image":"url(http://i1.mifile.cn/f/i/2018/home/totop.png)"})
})

//回到顶部
function backToTop(){
    $("body,html").animate({
        scrollTop:0
    },500)
}
$(".fixed-back5").on("click",backToTop);

 $(window).on("scroll",function(){
     if($(window).scrollTop()>200){
        $(".mi-fixed-right").css({"top":"50px"})
        .find(".fixed-right-hidden").css({"display":"block"})
     }
     else{
        $(".mi-fixed-right").css({"top":"150px"})
        $(".fixed-right-hidden").css({"display":"none"})
     }
 })
 $(window).trigger("scroll");